home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2100 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  962 b 

  1. Path: yakko.cs.rose-hulman.edu!payneca
  2. From: payneca%/etc/HOSTNAME (Christopher Payne)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: integer-2-string
  5. Date: 19 Jan 1996 03:37:09 GMT
  6. Organization: Hemlock Corporation
  7. Message-ID: <4dn3l5$l7h@yakko.cs.rose-hulman.edu>
  8. References: <4dht24$g0g@ratree.psu.ac.th>
  9. NNTP-Posting-Host: payneca.student.rose-hulman.edu
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Sommanat SOMNAWAT (s3635333@maliwan.psu.ac.th) wrote:
  13. : Hi there,
  14.  
  15. :   In C on UNIX,how can I convert integer to string ??
  16. : Function itoa() doesn't work.......
  17.  
  18. sprintf(buff,"%d",int_var); works well.
  19.  
  20. C
  21.  
  22. --
  23. ============================================================================
  24. Christopher Payne                   Email: PayneCA@Rose-Hulman.Edu 
  25. Director of Research & Development  Cool: Anime, Atari, RPGs, M:tA
  26. Hemlock Corporation                 WWW: http://www.rose-hulman.edu/~payneca
  27. ============================================================================ 
  28.